package com.github.io.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/9/13 15:32
 * Description: api 接口请求头
 */
@Data
@Accessors(chain = true)
@TableName("sb_api_header_data")
public class SbApiHeaderData extends BaseEntity {
    
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    // 接口id
    @TableField
    private String apiId;
    
    // 请求头key
    @TableField
    private String headerKey;
    
    // 请求头 value
    @TableField
    private String headerValue;
    
    // 请求头说明
    @TableField
    private String description;
    
    // 是否必填
    @TableField
    private Boolean isContain;
    
}
